package com.ruoyi.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.course.domain.SHomeworkOption;
import com.ruoyi.course.vo.SHomeworkOptionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 学生作业选项Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-03
 */
public interface SHomeworkOptionMapper extends BaseMapper<SHomeworkOption> {

    Page<SHomeworkOptionVo> queryList(Page<?> page, @Param("entity") SHomeworkOptionVo entity);

    List<SHomeworkOptionVo> queryList(@Param("entity") SHomeworkOptionVo entity);

    SHomeworkOptionVo queryById(@Param("id") Long id);

}
